package com.sea.operate.mapper;

import com.sea.operate.entity.Related;
import com.sea.operate.entity.WordClick;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  运营对照表表接口
 * @author 陈鸿飞
 * <br/>
 */
public interface WordClickMapper {

    /**
     * 条件查询
     * @param wordClick
     * @return
     */
    List<WordClick> findByCnd(WordClick wordClick);

    /**
     * 新增
     * @param wordClick
     * @return
     */
    int insert(WordClick wordClick);

    int insertWord(WordClick wordClick);

    WordClick findByWord(@Param("word")String word);

    int update(WordClick wordClick);

    Integer resetWord();

    Integer resetWordClick();
}